#ifndef __SENSOR_H
#define __SENSOR_H

#include "system.h"

#define AcceMax_1G      2048
#define GRAVITY_MSS     9.80665f
#define ACCEL_TO_1G     GRAVITY_MSS/AcceMax_1G
#define One_G_TO_Accel  AcceMax_1G/GRAVITY_MSS
#define GYRO_CALIBRATION_COFF 0.030488f;  //1000
extern S_float_xyz gyro_filter,accel_filter,mag_filter,ins_accel_filter;

extern S_float_xyz gyro,accel;
extern volatile float Pitch,Roll,Yaw,Yaw_Gyro,Pitch_Gyro,Roll_Gyro;


void Get_Status_Feedback(void);

#endif
